package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
)

func regist(c *gin.Context) {
	params := c.Request.URL.Query()
	SN := params.Get("SN")
	fmt.Println("regist")
	c.Writer.Write([]byte(fmt.Sprintf("RegistryCode=%s", Registtable[SN].RegistryCode)))
}
